import { StudentCardInfo } from "@/api/user/type";
//存储学生个人信息
export const SET_USER = (userInfo:StudentCardInfo) => {
    localStorage.setItem('userInfo', JSON.stringify(userInfo));
}
//取出学生个人信息
export const GET_USER = () => {
    return JSON.parse(localStorage.getItem('userInfo'));
}
//移除学生个人信息
export const REMOVE_USER = () => {
    localStorage.removeItem('userInfo');
}
